﻿<UserControl x:Class="ShopMS.Member.MemberManager"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" Width="776" Height="558.75">
    <DockPanel Margin="0,0,0,0">
    <Grid Margin="10,10,10,10">
        <DataGrid Margin="10,65,10,10" x:Name="grdData" AutoGenerateColumns="False" IsReadOnly="True">
            <DataGrid.Columns>
                <DataGridTextColumn Header="会员编号" Binding="{Binding Path=MemNo}"  />
            </DataGrid.Columns>
        </DataGrid>
        <Button Content="查询" HorizontalAlignment="Left" Margin="10,38,0,0" VerticalAlignment="Top" Width="75" x:Name="btnQuery" Click="btnQuery_Click"/>
        <Button Content="新增" HorizontalAlignment="Left" Margin="90,38,0,0" VerticalAlignment="Top" Width="75" x:Name="btnAddNew" Click="btnAddNew_Click"/>
        <Button Content="修改" HorizontalAlignment="Left" Margin="170,38,0,0" VerticalAlignment="Top" Width="75" x:Name="btnModify" Click="btnModify_Click"/>
        <Button Content="删除" HorizontalAlignment="Left" Margin="250,38,0,0" VerticalAlignment="Top" Width="75" x:Name="btnDelete" Click="btnDelete_Click"/>
        <Button Content="关闭" HorizontalAlignment="Left" Margin="330,38,0,0" VerticalAlignment="Top" Width="75" x:Name="btnClose" Click="btnClose_Click"/>
        <TextBlock HorizontalAlignment="Left" Margin="10,10,0,0" TextWrapping="Wrap" Text="会员编号" VerticalAlignment="Top"/>
        <TextBox x:Name="txtMemNo" HorizontalAlignment="Left" Height="23" Margin="63,7,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="182" RenderTransformOrigin="0.742,0.478"/>
        <TextBlock HorizontalAlignment="Left" Margin="250,10,0,0" TextWrapping="Wrap" Text="会员电话" VerticalAlignment="Top"/>
        <TextBox x:Name="txtPhoneNo" HorizontalAlignment="Left" Height="23" Margin="303,7,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="182"/>
        <TextBlock HorizontalAlignment="Left" Margin="490,10,0,0" TextWrapping="Wrap" Text="会员姓名" VerticalAlignment="Top"/>
        <TextBox x:Name="txtMemName" HorizontalAlignment="Left" Height="23" Margin="543,7,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="182"/>
    </Grid>
    </DockPanel>
</UserControl>
